package com.xteam.xnetworkdisk.utilsinterface;

import com.xteam.xnetworkdisk.constant.Constant;
import com.xteam.xnetworkdisk.utils.Base64Utils;
import org.springframework.web.multipart.MultipartFile;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public interface ChunkFileUtils {


    public void write(String key, OutputStream thumbnailStream);
    public void write(String key, MultipartFile file) throws IOException;
    public byte[] read(String key) ;
    public void clearFileUploadCache(String md5Value, int chunks);
}
